/**
 * jims
 */
package com.jims.master.modules.drug.dao;

import com.jims.master.common.persistence.CrudDao;
import com.jims.master.common.persistence.annotation.MyBatisDao;
import com.jims.master.modules.drug.entity.DrugClassDict;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 药品类别字典表DAO接口
 * @author CTQ
 * @version 2017-03-01
 */
@MyBatisDao
public interface DrugClassDictDao extends CrudDao<DrugClassDict> {

    public List<DrugClassDict> validUnique(DrugClassDict drugClassDict);

    /**
     * 根据父级ID查询
     * @param parentId
     * @return
     */
    public int findByParentId(@Param("parentId") String parentId);
	
}